package faceb.server.model;

public class NewsPic {
	private String np_id;
	private String np_n_id;
	private String np_name;
	private String np_path;

	public NewsPic() {

	}

	public NewsPic(String np_id, String np_n_id, String np_name, String np_path) {
		super();
		this.np_id = np_id;
		this.np_n_id = np_n_id;
		this.np_name = np_name;
		this.np_path = np_path;
	}

	public String getNp_id() {
		return np_id;
	}

	public void setNp_id(String np_id) {
		this.np_id = np_id;
	}

	public String getNp_n_id() {
		return np_n_id;
	}

	public void setNp_n_id(String np_n_id) {
		this.np_n_id = np_n_id;
	}

	public String getNp_name() {
		return np_name;
	}

	public void setNp_name(String np_name) {
		this.np_name = np_name;
	}

	public String getNp_path() {
		return np_path;
	}

	public void setNp_path(String np_path) {
		this.np_path = np_path;
	}

	@Override
	public String toString() {

		StringBuffer sb = new StringBuffer();
		String line_separator = System.getProperty("line.separator");
		sb.append("name:");
		sb.append(np_name);
		sb.append(line_separator);
		sb.append("path:");
		sb.append(np_path);
		sb.append(line_separator);
		return sb.toString();

	}
}
